FROM python:3.7.6
WORKDIR /home
RUN mkdir /home/app -p
COPY . /home/app
WORKDIR /home/app
RUN pip install -r requirements.txt -i  https://mirrors.aliyun.com/pypi/simple/

CMD [ "gunicorn", "--bind" , "0.0.0.0:8000", "myShop.wsgi"]
# docker build ../my-shop/ -t python:3.7.6 -f ./Dockerfile